<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="orest.back.userneeds.UserNeedsHandler"%>
<%@page import="net.ssta.core.db.RecordSet"%>
<%@page import="net.ssta.core.db.Record"%>
<%@page import="net.ssta.core.web.HTMLGenerator"%>
<%@page import="orest.front.achieve.AchieveHandler"%>

<%
	String path = request.getContextPath();
 	Record r=(Record)request.getAttribute("RECORD");
    
%>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%=path%>/common/css/layout.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/common/css/user.css" rel="stylesheet" type="text/css" />

<script type='text/javascript' src="<%=path %>/includes/js/jquery.js"></script>
<script type="text/javascript" src="<%=path %>/includes/DatePicker/WdatePicker.js"></script>

<script type="text/javascript" src="<%=path %>/includes/Fvalidate/Fvalidate.js" ></script>
<link type="text/css" rel="stylesheet" href="<%=path %>/includes/Fvalidate/style.css" />
<title>修改密码</title>
<style type="text/css">
<!--
body{ 
    margin:0 auto;
	font-size:12px;
	text-align:center;
	background:url(../images/bg.jpg) top center;
	background-repeat:repeat-x;
}
a {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #c30;
	text-decoration: none;
}




#logo_login{
    width:970px;
	height:69px;
	margin:0 auto;
	margin-bottom:15px;
	margin-top:5px;
	text-align:left;
	overflow:hidden;
}
#main_login_top{
    width:970px;
	height:89px;
	margin:0 auto;
	background-image:url(<%=path%>/common/images/getpwd.jpg);
	overflow:hidden;
}
#main_login_main{
    width:970px;
	height:250px;
	margin:0 auto;
	background-image:url(<%=path%>/common/images/box_main.jpg);
	overflow:hidden;
}
#main_login_main_left{
    width:950px;
	height:150px;
	float:left;
	overflow:hidden;
}
#main_login_main_right{
    width:450px;
	height:200px;
	float:right;
	overflow:hidden;
	background:url(<%=path%>/common/images/line.jpg) left no-repeat;
}
#rightcontent{
    width:60%;
	height:auto;
	margin:0 auto;
	text-align:left;
	overflow:hidden;
	margin-top:90px;
	line-height:2;
}
#rightregbotton{
    width:250px;
    text-align:left;
		overflow:hidden;
		margin:0 auto;
		margin-top:10px;
}
#main_login_down{
    width:970px;
	height:76px;
	margin:0 auto;
	margin-bottom:5px;
	background-image:url(<%=path%>/common/images/box_down.jpg);
	overflow:hidden;
}
.textclass{
    width:200px;
	height:27px;
	line-height:27px;
	border:1px solid #CCCCCC;
}

#footer{
    width:970px;
	height:120px;
	border-top:4px solid #cccccc;
	margin:0 auto;
}
#footer_link{
    height:35px;
	line-height:35px;
	text-align:center;
}
#footer_copyright{
    height:85px;
	line-height:180%;
	text-align:center;
	color:#707070;
}
-->
</style>
<style>
body, html {
	 
	background:url(../images/bg1.jpg) top center;
}
</style>  
<script>
function checkForm(){
   if($("#userFrom").Fvalidate()){
      var v1=$("#pwd1").val();
      var v2=$("#pwd2").val();
     if(v1!=v2){
        alert("两次输入的密码不一样");
       return false;
     }
     document.userFrom.submit();
   }
} 


$(document).ready(function()
{
	$("#userFrom").Fvalidate({live:true});
	
});   

</script>
 
</head>
<body>




<br/>




<br/>
<div id="logo_login"><img src="<%=path%>/common/images/logo_wite.jpg" /></div>

<div id="main_login_top"></div>
<div id="main_login_main">
    <div id="main_login_main_left">
     <form id="userFrom" action="<%=path %>/register?method=modPwd"  name="userFrom" method="post">
     <input type="hidden" name="userId" value="<%=r.getString("USERID","") %>"/> 
     
	     <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">

 				 <tr style="height:55px;">
				<td width="35%" height="35" align="right">密码：&nbsp;</td>
				<td width="30%" align="left">
				 <input type="password"  maxlength="20" name="password" class="textclass" id="pwd1"  required id="pwd1"/><font color="red">*</font>
			    </td>
			    <td>&nbsp;</td>
			  </tr>
			  <tr style="height:55px;">
				<td align="right" height="35">重复密码：&nbsp;</td>
				<td align="left"><input type="password"  maxlength="20"  class="textclass" required id="pwd2"/><font color="red">*</font></td>
				  <td>&nbsp;</td>
			  </tr>
			</table> 	
			
 </form> 



 
  </div>

		<div id="rightregbotton">
		    <a href="#"><img src="<%=path%>/common/images/bottom_getpwd.jpg" border="0" onclick="checkForm()"/></a>
		</div>
		
	</div>
<div id="main_login_down"></div>


<!--页面页脚-->
<!--页面页脚-->
 <%@include file="../../common/bottom.jsp"%>    

 









 
</body> 
</html>